package com.example.teesystem.mapper;

import com.example.teesystem.entity.Knowledge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 28131
* @description 针对表【t_knowledge】的数据库操作Mapper
* @createDate 2022-03-29 08:47:26
* @Entity com.example.teesystem.entity.Knowledge
*/
@Mapper
public interface KnowledgeMapper extends BaseMapper<Knowledge> {
    @Select("select * from t_knowledge where id = #{id}")
    Knowledge getKnowledgeById(int id);
}




